package io.renren.modules.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 线上订单表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-16
 */
@Data
@ApiModel(value = "线上订单表")
public class XlsShopOrdersDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "订单")
	private Long id;

	@ApiModelProperty(value = "订单号")
	private String orderNo;

	@ApiModelProperty(value = "买家id")
	private Long userId;

	@ApiModelProperty(value = "订单状态  -5订单过期失效-4平台拒绝 -3退款 -2未付款的订单 -1用户取消 0已付款 1已发货 2待发货 3系统确认收货 4平台审核中 5已完成")
	private Integer orderStatus;

	@ApiModelProperty(value = "订单是否完结 1完结-1未完结")
	private Integer isClosed;

	@ApiModelProperty(value = "是否支付 -1未支付 1已支付")
	private Integer isPay;

	@ApiModelProperty(value = "商品总金额")
	private BigDecimal goodsMoney;

	@ApiModelProperty(value = "订单总金额 (goodsMoney+deliverMoney 或 realMoney+cash)")
	private BigDecimal totalMoney;

	@ApiModelProperty(value = "支付方式 1:线下现金支付 2 现金账户支付 3第三方支付4.支付宝.5微信6.银联")
	private Integer payType;

	@ApiModelProperty(value = "订单备注")
	private String orderRemarks;

	@ApiModelProperty(value = "订单流水号")
	private String orderunique;

	@ApiModelProperty(value = "付款时间")
	private Date paymentTime;

	@ApiModelProperty(value = "发货时间")
	private Date deliveryTime;

	@ApiModelProperty(value = "收货时间")
	private Date receiveTime;

	@ApiModelProperty(value = "快递单号")
	private String expressNo;

	@ApiModelProperty(value = "快递公司Id")
	private Integer expressId;

	@ApiModelProperty(value = "收货地址Id")
	private Long userAddressId;

	@ApiModelProperty(value = "订单类型1.零售2.批发3.易物")
	private Integer orderType;

	@ApiModelProperty(value = "下单时间")
	private Date createTime;

	@ApiModelProperty(value = "买家姓名")
	private String username;

	@ApiModelProperty(value = "买家手机号")
	private String mobile;

	@ApiModelProperty(value = "省")
	private String provinceName;

	@ApiModelProperty(value = "市")
	private String cityName;

	@ApiModelProperty(value = "区")
	private String areaName;

	@ApiModelProperty(value = "详细地址")
	private String userAddress;


}